﻿using DXApplicationTangche.DTO;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DXApplicationTangche.UC.项目成果管理.在制品管理
{
    public partial class Form质检入口 : DevExpress.XtraEditors.XtraForm
    {
        private WBSItemDTO wBSItemDTO;
        public Form质检入口(WBSItemDTO wBSItemDTO)
        {
            InitializeComponent();
            this.wBSItemDTO = wBSItemDTO;
        }

        private void simpleButton半成品质检_Click(object sender, EventArgs e)
        {
            //new FormVI质检新("01.0005").ShowDialog();
            new FormVI质检QC("01.0005",this.wBSItemDTO.assertNo).ShowDialog();
        }
        private void simpleButton产成品一检_Click(object sender, EventArgs e)
        {
            //new FormVI质检新("01.0005.01").ShowDialog();
            new FormVI质检QC("01.0005.01", this.wBSItemDTO.assertNo).ShowDialog();
        }

        private void simpleButton产成品质检_Click(object sender, EventArgs e)
        {
            //new FormVI质检新("01.0007").ShowDialog();
            new FormVI质检QC("01.0007", this.wBSItemDTO.assertNo).ShowDialog();
        }

        private void simpleButton整烫后质检_Click(object sender, EventArgs e)
        {
            new FormVI质检("02").ShowDialog();
        }
    }
}
